<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/page.css" />
<link rel="stylesheet" href="${staticServer}/css/work_today.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
<script src="${staticServer}/inc/js/pageset.js"></script>
<script src="${staticServer}/inc/js/datepicker.js"></script>
<script src="${staticServer}/inc/js/infopad.js?2.2"></script>

</head>
<script>
           $(function(){

           });

          var selectMsg = function(){
                var date = $("#date").val();
	         
	            window.location.href=encodeURI("${contextPath}/index/getPerformanceAmount.htm?date="+date);
           }
          
           

</script>
<body>
	<div id="container">
		<div id="title">团队PK</div>
		
		<table class="form_table">
			<tbody>
			<tr class="even_row">
				<td> 
				    <label for="nickname">按周查询：</label>
					<input type="text" id="date" value="" rel="DATE::Y-m-d"/>
					<input type="button" value=" 查 询 " onclick="selectMsg()" />
				 
				</td>
			</tr>
			</tbody>
		
		<table>
			<tr class="fields">
				<th width="150">团队主管</th>
				<th width="150">总接待人数</th>
				<th width="150">总业绩</th>
				<th width="150">y(总业绩/接待人数)</th>
				<th width="150">积分<#if performanceAcount??>${performanceAcount.time}</#if></th>
				<th width="150">本月累计积分</th>
			</tr>
			<#if list??>
			<#list list as list>
				<tr class="even_row">
					<td align="center"><#if list.username??>${list.username}</#if></td>
					<td align="center"><#if list.total??>${list.total}</#if></td>
					<td align="center"><#if list.money??>${list.money}</#if></td>
					<td align="center"><#if list.y??>${list.y}</#if></td>
					<td align="center"><#if list.mark??>${list.mark}</#if>
					<td align="center"><#if list.all??>${list.all}</#if>
				</tr>
			</#list>
			</#if>

		</table>
	</div>
</body>
</html>